﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WinApp.Model
{
    public class PageCondition
    {

        //1
        public int PageIndex { get; set; } = 1;
        //20        分页大小
        public int PageSize { get; set; } = 20;

        /**  排序条件集合 */
        public List<SortCondition> SortConditions { get; set; }
    }
    public class SortCondition
    {
        public string SortField { get; set; }
        public ListSortDirection ListSortDirection { get; set; }
    }

    public enum ListSortDirection
    {
        Ascending,
        Descending,
    }
}
